package com.mas.admin.biz.dal.redis;

import com.mas.admin.biz.dal.dataobject.oauth2.OAuth2AccessTokenDO;
import com.mas.framework.redis.core.RedisKeyDefine;

import static com.mas.framework.redis.core.RedisKeyDefine.KeyTypeEnum.STRING;

/**
 * @author godyao
 * @description RedisKeyConstants
 * @date 2023年02月13日17:06
 */
public interface RedisKeyConstants {
    RedisKeyDefine OAUTH2_ACCESS_TOKEN = new RedisKeyDefine("访问令牌的缓存", "oauth2_access_token:%s", STRING, OAuth2AccessTokenDO.class, RedisKeyDefine.TimeoutTypeEnum.DYNAMIC);
}
